﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Web;
using System.Xml;
using Framework.Library.Core.Provider.Caches;

namespace Framework.Library.Core.Utils.GlobalHelper
{
    public class AccountHelper
    {
        public static string GetAvatarPath(long AccountId, int width, int height)
        {
            return "http://avatar.go.vn/avatar/store/account/" + Math.Floor((double)AccountId / 1000000) + "/" + Math.Floor((double)AccountId / 1000) + "/" + AccountId + "/" + AccountId + ".png." + width + "." + height + ".cache";
        }
    }
}